//
//  VC2AcitvityIndicatorView.swift
//  ChapterAll
//
//  Created by Kevin on 2020/4/22.
//  Copyright © 2020 Kevin. All rights reserved.
//

import UIKit

class VC2AcitvityIndicatorView: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        let activity = UIActivityIndicatorView(style: .large)
        activity.color = UIColor.gray
        activity.center = CGPoint(x: view.bounds.width / 2, y: view.bounds.height / 2)
        view.addSubview(activity)
        
        activity.startAnimating()
    }
}
